package com.zhuzl.orderservice.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author JZY001
 */
@Data
@TableName("order_info")
public class OrderInfo {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String orderNo;

    private String userId;

    private Integer productId;

    private Integer count;

    private Double amount;

    private LocalDateTime createTime;

}
